package com.aaa.web.service.carrecycleservice;

import com.aaa.web.commons.CarRecycleQuery;
import java.util.Map;

/**
 * @program: battery
 * @description: 车辆回收模块
 * @author: liangyongzhen
 * @create: 2018-12-25 13:14
 **/
public interface CarRecycleService {

    /**
     * 获取所有申请回收的车辆
     * @param query
     * @return
     */
    Map getAllCarList(CarRecycleQuery query);

    /**
     * 通过手机号来查找到回收申请单
     * @param query
     * @return
     */
    Map getCarListByTel(CarRecycleQuery query);

    /**
     * 更新价格
     * @param query
     * @return
     */
    Map updatePrice(CarRecycleQuery query);

    /**
     * 拒绝申请
     * @param query
     * @return
     */
    Map refuseApply(CarRecycleQuery query);

    /**
     * 完成申请
     * @param query
     * @return
     */
    Map dealApply(CarRecycleQuery query);

    /**
     * 获取历史
     * @param query
     * @return
     */
    Map getReCycleDetail(CarRecycleQuery query);

    /**
     * 根据手机号搜索历史
     * @param query
     * @return
     */
    Map getCarHistoryByTel(CarRecycleQuery query);

}
